﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class easybbs : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (IsPostBack)
        {
        }
        else
        {
            TUser1.CheckUser(this);
            myuid.Text = Session["ecrm_uid"].ToString();

            //设定状态
            TUser oUser = new TUser(myuid.Text);
            oUser.Select();
            string bigname = oUser.BigName;

            userstatus1.Text = "<a onclick='javascript:location.href=\"./user/user_myself.aspx\"' onmouseover='this.style.cursor=\"pointer\"' onmouseout='this.style.backgroundColor=\"\"'>" + bigname + "的设置</a>";
            userstatus2.Text = "<a onclick='javascript:location.href=\"./user/user_logout.aspx\"' onmouseover='this.style.cursor=\"pointer\"' onmouseout='this.style.backgroundColor=\"\"'>退出</a>";
        }
    }
}
